package com.thinkgem.jeesite.modules.book.entity;

/**
 * Created by John on 2015/10/30.
 */
public class CNMARC{
    private String key;
    private String keyName;
    private String finger;
    private String content;
    public static final String GS = "\u001D";
    public static final String RS = "\u001E";
    public static final String US = "\u001F";

    public CNMARC(){
    }

    public CNMARC(String key,
                  String keyName,
                  String finger,
                  String content){
        this.key = key;
        this.keyName = keyName;
        this.finger = finger;
        this.content = content;
    }

    public String getKey(){
        return key;
    }

    public void setKey(String key){
        this.key = key;
    }

    public String getKeyName(){
        return keyName;
    }

    public void setKeyName(String keyName){
        this.keyName = keyName;
    }

    public String getFinger(){
        return finger;
    }

    public void setFinger(String finger){
        this.finger = finger;
    }

    public String getContent(){
        return content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public static String getKeyName(String key){
        String message = "";
        if(key != null){
            switch(key){
                case "LDR":
                    message = "记录投标区";
                    break;
                case "001":
                    message = "记录标识号";
                    break;
                case "005":
                    message = "记录版本标识";
                    break;
                case "010":
                    message = "国际标准书号";
                    break;
                case "035":
                    message = "系统控制号";
                    break;
                case "100 ":
                    message = "通用处理数据";
                    break;
                case "101 ":
                    message = "作品语种";
                    break;
                case "102 ":
                    message = "出版或制作国别";
                    break;
                case "105 ":
                    message = "图书编码数据：文字资料/专著";
                    break;
                case "106 ":
                    message = "图书编码数据：文字资料—形态标志";
                    break;
                case "200 ":
                    message = "正题名与责任者说明";
                    break;
                case "205 ":
                    message = "版本说明";
                    break;
                case "210 ":
                    message = "出版、发行地";
                    break;
                case "215 ":
                    message = "载体形态项";
                    break;
                case "225 ":
                    message = "正丛编题名";
                    break;
                case "300 ":
                    message = "一般附注内容";
                    break;
                case "303 ":
                    message = "著录信息附注";
                    break;
                case "304 ":
                    message = "题名责任者附注";
                    break;
                case "320 ":
                    message = "书目、索引附注";
                    break;
                case "327 ":
                    message = "内容附注内容";
                    break;
                case "330":
                    message = "本书内空简介";
                    break;
                case "410":
                    message = "丛编的有关数据";
                    break;
                case "510":
                    message = "并列题名";
                    break;
                case "606":
                    message = "主标目";
                    break;
                case "690":
                    message = "分类号";
                    break;
                case "701":
                    message = "人名—等同责任者";
                    break;
                case "702":
                    message = "人名—次要责任者";
                    break;
                case "711":
                    message = "团体名称—等同责任者";
                    break;
                case "712":
                    message = "团体名称—次要责任者";
                    break;
                case "801":
                    message = "国家代码";
                    break;
                case "905":
                    message = "收藏馆代码";
                    break;
            }
        }
        return message;
    }
}
